import pandas as pd

s = pd.Series([1,2,3,4] ,index=['a','b','c','d'])


s_dropped = s.drop(['b'])
print(s_dropped)

print("*"*50)
series=[1,2,3,4,5]

# result=series * 2
# print(result)

# 过滤
# filtered_series = series[series > 2]
# print(filtered_series)
